package com.ttmall.service;

import com.ttmall.common.pojo.EasyUIDataGridResult;
import com.ttmall.common.pojo.TaotaoResult;
import com.ttmall.pojo.TbItem;

import java.util.List;

/**
 * Created by tianyi on 2017/12/30.
 */
public interface ItemService {

    TaotaoResult getItemById(long itemId);

    TaotaoResult getItemDescById(long itemId);

    EasyUIDataGridResult getItemList(int page, int rows);

    TaotaoResult createItem(TbItem tbItem, String desc, String itemParam);

    TaotaoResult deleteItems(List<Long> ids);

    TaotaoResult updateItem(TbItem tbItem, String desc, Long itemParamId, String itemParams);

    TaotaoResult instockItems(List<Long> idLongs);

    TaotaoResult reshelfItems(List<Long> idLongs);
}
